<?php
/* @var $this SiteController */
/* @var $model ContactForm */
/* @var $form CActiveForm */

$this->pageTitle = Yii::app()->name . ' - Contact Us';
$this->breadcrumbs = array(
    'Contact',
);
?>



<table width="800" style=" border-top:1px solid #CCC;" border="0" align="center" cellspacing="0" cellpadding="0">
    <tr>
        <td width="400">
            <div  class="contact">

                <h1>   
                    Suntoshi Company Limited</h1>

                900/31 Sv city Building Unit F-13, Rama 3,<br />
                Bangpongpang , Yannawa ,Bangkok 10120<br />
                Tel :02 - 295 3140<br />
                Fax :02 - 295 3296<br />
                Email :info@suntoshi.com  

                <br />
                <br />
                <img src="img/map.png" width="301" height="169" />
            </div>

        </td>
        <td>
            <br />

            <h2>Create an Account</h2>
            <?php
            $form = $this->beginWidget('CActiveForm', array(
                'id' => 'support-form',
                'enableAjaxValidation' => true,
            ));
            ?>
            <div class="form_input">

                <div class="row" >


                    <?php echo $form->labelEx($frmContact, 'name'); ?>
                    <?php
                    echo $form->textField($frmContact, 'name', array(
                        'class' => 'form_support1'
                    ));
                    ?>
<?php echo $form->error($frmContact, 'name'); ?>

                </div>
                <div class="row" >
                    <?php echo $form->labelEx($frmContact, 'email'); ?>
                    <?php
                    echo $form->textField($frmContact, 'email', array(
                        'class' => 'form_support1'
                    ));
                    ?>
<?php echo $form->error($frmContact, 'email'); ?>
                </div>  

                <div class="row" >
                    <?php echo $form->labelEx($frmContact, 'subject'); ?>
                    <?php
                    echo $form->textField($frmContact, 'subject', array(
                        'class' => 'form_support1'
                    ));
                    ?>
<?php echo $form->error($frmContact, 'subject'); ?>
                </div>  

                <div class="row" >
                    <?php echo $form->labelEx($frmContact, 'message'); ?>
                    <?php
                    echo $form->textArea($frmContact, 'message', array(
                        'class' => 'form_support1'
                    ));
                    ?>
<?php echo $form->error($frmContact, 'message'); ?>
                </div>  
                <input type="submit"  value="Register"/>


<?php $this->endWidget(); ?>
            </div>
            <br />
            <br />



        </td>
    </tr>
</table>
